<h1>Editing network</h1>

<%= error_messages_for :network %>

<% form_for(@network) do |f| %>
  <%= render(:partial => "assets/mini_edit", :object => @network.asset) %>
  
  <%= render(:partial => "interfaces/mini_edit", :object => @network.asset) %>


  <p>
    <b>Network model</b><br />
    <%= f.collection_select( "network_model_id", NetworkModel.find(:all), "id", "model_name", {:include_blank => true}) %>
  </p>
  <%= render(:partial => "audits/audits",:object => @network.asset) %>


  <p>
    <%= f.submit "Update" %>
    <%= link_to 'delete', @network, :confirm => 'Are you sure?', :method => :delete %>

  </p>
<% end %>

<%= link_to 'Show', @network %> |
<%= link_to 'Back', networks_path %>
